package com.ruoyi;

import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.annotation.MapperScans;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;

/**
 * 启动程序
 * 
 * @author XJKloveNy
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@ComponentScan(basePackages = {"com.ny","com.ruoyi","com.nygym"})
@EnableCaching
@MapperScan("com.nygym.mapper")
public class RuoYiApplication
{
    public static void main(String[] args)
    {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(RuoYiApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  启动成功   ლ(´ڡ`ლ)ﾞ  \n" +
                "\n" +
                "                                                                          \n" +
                "88    88                                       888b      88 8b        d8  \n" +
                "88    88                                       8888b     88  Y8,    ,8P   \n" +
                "88    88                                       88 `8b    88   Y8,  ,8P    \n" +
                "88    88  ,adPPYba,  8b       d8  ,adPPYba,    88  `8b   88    \"8aa8\"     \n" +
                "88    88 a8\"     \"8a `8b     d8' a8P_____88    88   `8b  88     `88'      \n" +
                "88    88 8b       d8  `8b   d8'  8PP\"\"\"\"\"\"\"    88    `8b 88      88       \n" +
                "88    88 \"8a,   ,a8\"   `8b,d8'   \"8b,   ,aa    88     `8888      88       \n" +
                "88    88  `\"YbbdP\"'      \"8\"      `\"Ybbd8\"'    88      `888      88       ");
    }
}
